If netfront fails to allocate a receive skbuff, push all pending
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 28 Dec 2005 11:29:15 +0000 (12:29 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 28 Dec 2005 11:29:15 +0000 (12:29 +0100)
commit2d6e7159118deb6f5ee10c5c52b2069ffb1606d3
tree01021571d1b766516e114bdf274643a68844e37f
parent9ab2587f30cc4e186f1afb76428ec83c28d7f46c
If netfront fails to allocate a receive skbuff, push all pending
skbuffs out onto the shared ring. If there are no skbuffs to push,
schedule a timer to try again later. This will avoid interface
lockups in low-memory conditions.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c